package com.woniuxy.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PermissionTree {
    private Integer id;
    private Integer parentId;
    private String pname;
    private String url;
    private String code;
    private Integer level;
    private Integer sort;

    private List<PermissionTree> children = new ArrayList<>();
}
